package com.hk.crm.settings.domain;

public class User {
    private String id;
    private String loginAct;
    private String NAME;
    private String loginPwd;
    private String  email;
    private String expireTime;//失效时间，19位字符串yyyy-MM-dd HH: mm:ss
    private String lockState;//锁定状态 0锁定 1启用
    private String deptno;//部门编号
    private String allowIps;//允许访问的IP地址
    private String createTime;//创建时间    19
    private String createBy;//创建人
    private String editTime;//修改时间  19
    private String editBy;//修改人
/*
*   关于登录
*       验证账号和密码
*       User user=执行select * from tbl_user where loginAct=? and loginPwd=?
*       user对象为null,说明账号密码错误
*       如果不为空。说明账号密码是对的
*       需要继续向下验证其他字段信息
*       从user中get到
*       expireTime 验证失效时间
*       lockState   验证锁定状态
*       allowIps    验证浏览器端的ip地址是否有效
*
*
* */
    public User() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLoginAct() {
        return loginAct;
    }

    public void setLoginAct(String loginAct) {
        this.loginAct = loginAct;
    }

    public String getNAME() {
        return NAME;
    }

    public void setNAME(String NAME) {
        this.NAME = NAME;
    }

    public String getLoginPwd() {
        return loginPwd;
    }

    public void setLoginPwd(String loginPwd) {
        this.loginPwd = loginPwd;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(String expireTime) {
        this.expireTime = expireTime;
    }

    public String getLockState() {
        return lockState;
    }

    public void setLockState(String lockState) {
        this.lockState = lockState;
    }

    public String getDeptno() {
        return deptno;
    }

    public void setDeptno(String deptno) {
        this.deptno = deptno;
    }

    public String getAllowIps() {
        return allowIps;
    }

    public void setAllowIps(String allowIps) {
        this.allowIps = allowIps;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getEditTime() {
        return editTime;
    }

    public void setEditTime(String editTime) {
        this.editTime = editTime;
    }

    public String getEditBy() {
        return editBy;
    }

    public void setEditBy(String editBy) {
        this.editBy = editBy;
    }
}
